package day4ClazzAndArrayList;

public class Student {
    public String sid;//学生学号
    public String name;//学生姓名
    public String age;//学生年龄

    public Student() {//无参构造
    }

    public Student(String sid, String name, String age) {//带参构造
        this.sid = sid;
        this.name = name;
        this.age = age;
    }

    public String getSid() {//根据每个成员变量给出get/set方法
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

}
